<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>学生管理系统</title>
    <link rel="stylesheet" th:href="@{/libs/layui/css/layui.css}">
    <link rel="stylesheet" th:href="@{/libs/layer/mobile/need/layer.css}">
    <script type="text/javascript" th:src="@{/libs/layui/layui.js}"></script>
    <script type="text/javascript" th:src="@{/js/dateTime.js}"></script>
    <script type="text/javascript" th:src="@{/js/jquery-1.4.4.min.js}"></script>
    <script type="text/javascript">
        var pageUrl = "${pageContext.request.contextPath }";
        $(document).ready(function () {
            showDay();
            setInterval('showTime();', 1000);
        })
    </script>


    <style>
        .layui-table-view .layui-form-checkbox[lay-skin=primary] i {
            margin-top:8px;
        }
    </style>
</head>
<body>
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo layui-hide-xs layui-bg-black">学生信息</div>
        <!-- 头部区域（可配合layui 已有的水平导航） -->
        <ul class="layui-nav layui-layout-left">
            <!-- 移动端显示 -->
            <li class="layui-nav-item layui-show-xs-inline-block layui-hide-sm" lay-header-event="menuLeft">
                <i class="layui-icon layui-icon-spread-left"></i>
            </li>

        </ul>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item"><a href="javascript:void(0);">今天是<span id="day"></span>&nbsp;&nbsp;&nbsp;
                <span id="time"></span>
            </a></li>
            <li class="layui-nav-item layui-hide layui-show-md-inline-block">
                <a href="javascript:;">
                    <img src="//tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg" class="layui-nav-img">
                    tester
                </a>
                <dl class="layui-nav-child">
                    <dd><a href="">个人资料</a></dd>
                    <dd><a href="">设置</a></dd>
                    <dd><a th:href="@{/removeUser}">退出系统</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item" lay-header-event="menuRight" lay-unselect>
                <a href="javascript:;">
                    <i class="layui-icon layui-icon-more-vertical"></i>
                </a>
            </li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree" lay-filter="test">
            </ul>
        </div>
    </div>




    <script type="text/javascript" th:src="@{/js/jquery-1.8.3.min.js}"></script>

    <script type="text/javascript" th:src="@{/libs/layer/layer.js}"></script>

<!--    <div class="demoTable" id="banjistu">-->

<!--        <table  class="layui-hide" id="demo" lay-filter="test"></table>-->
<!--    </div>-->




    <div class="layui-body">





        <div style=";width: 800px;height: 800px;font-weight: bold;font-size: 22px; margin: 50px 0px 0 200px">
            <style>
                .layui-input,.layui-select{
                    border: 0;   /*去除未选中状态边框*/
                    outline: none;  /*去除选中状态边框*/
                    background-color: rgba(0, 0, 0, 0); /*透明背景*/
                }

                .layui-form-label {
                    width: 110px;
                    padding: 8px 0px;
                    height: 45px;
                    line-height: 20px;
                    border-width: 1px;
                    border-style: hidden;
                    border-radius: 2px 0 0 2px;
                    text-align: center;
                    background-color: #ffffff;
                    overflow: hidden;
                    box-sizing: border-box;
                }
            </style>

<!--            <form class="layui-form layui-form-pane" action="">-->


                <input hidden  th:attr="value=${session.stume.provincesId}" id="provincesId">
                <input hidden  th:attr="value=${session.stume.citiesId}"  id="citiesId">
                <input hidden  th:attr="value=${session.stume.areasId}" id="areasId">
                <input hidden  th:attr="value=${session.stume.idType}" id="idTypeh">
                <input hidden  th:attr="value=${session.stume.studentId}"  id="stuId">
                <input hidden  th:attr="value=${session.stume.dormitoryName}" id="dormitoryDormitoryName">
                <input hidden  th:attr="value=${session.stume.gradeName}" id="gradeGradeName">
                <input hidden  th:attr="value=${session.stume.gradeGradeId}" id="gradeId">
                <input hidden  th:attr="value=${session.stume.dormitoryDormitoryId}" id="dormitoryId">



                <div class="layui-form-item">
                    <label class="layui-form-label">姓名：</label>
                    <div class="layui-input-block">
                        <input type="text" th:value="${session.stume.studentName}" id="stuName" name="studentName" required  lay-verify="required" placeholder="请输入输入框内容" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">性别：</label>
                    <div class="layui-input-inline" style="width: 60px">
                        <select name="sex" id="sex" lay-verify="required" lay-search="" class="layui-select">
                            <div th:if ="${session.stume.sex == 1}">-->
                                <option value='1' selected>男</option>
                                <option value='2'>女</option>
                           </div>
                            <div th:if ="${session.stume.sex == 2}">-->
                                <option value='1' >男</option>
                                <option value='2'selected>女</option>
                            </div>


                        </select>
                    </div>
<!--                    <div class="layui-input-block" th:value="${session.stume.sex}" >-->
<!--                     <div th:if ="${session.stume.sex == 1}">-->
<!--                            <input type="radio" name="sex" value="1" checked>男-->
<!--                            <input type="radio" name="sex" value="2"  >女-->
<!--                     </div>-->
<!--                        <div th:if ="${session.stume.sex == 2}">-->
<!--                            <input type="radio" name="sex" value="1" >男-->
<!--                            <input type="radio" name="sex" value="2" checked >女-->
<!--                        </div>-->
<!--                    </div>-->


                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">年龄：</label>
                    <div class="layui-input-block layui-btn-disabled">
                        <input type="text" th:value="${session.stume.age}" disabled name="age" required  lay-verify="required" placeholder="请输入输入框内容" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">身份类型：</label>
                    <div class="layui-input-block">
                        <select name="idType" th:value="${session.stume.idType}" id="idTypes" lay-filter="idType" >

                            <option value='' >请选择</option>
                            <option value='1' selected>身份证</option>
                            <option value='2'>军人证</option>
                            <option value='3'>护照</option>
                            <option value='4'>户口本</option>
                            <option value='5'>外国人永久居留证</option>
                            <option value='6'>武警证</option>
                            <option value='7'>公章</option>
                            <option value='8'>工商营业执照</option>
                            <option value='9'>法人代码证</option>
                            <option value='10'>学生证</option>
                            <option value='11'>士兵证</option>
                            <option value='16'>港澳居民来往内地通行证</option>
                            <option value='17'>台湾居民来往大陆通行证</option>
                            <option value='18'>其他证件类型</option>
                        </select>
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">身份证号：</label>
                    <div class="layui-input-block">
                        <input type="text" id="IdNum" th:value="${session.stume.idNum}" name="IdNum" required  lay-verify="required" placeholder="请输入输入框内容" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">手机号：</label>
                    <div class="layui-input-block">
                        <input type="text" th:value="${session.stume.mobile}" id="mobile" name="mobile" required  lay-verify="required" placeholder="请输入输入框内容" autocomplete="off" class="layui-input">
                    </div>
                </div>
<!--                <div class="layui-form-item">-->
<!--                    <label class="layui-form-label">电子邮箱：</label>-->
<!--                    <div class="layui-input-inline">-->
<!--                        <input type="text" th:value="${session.stume.}" id="email" name="email" required  lay-verify="required" placeholder="请输入输入框内容" autocomplete="off" class="layui-input">-->
<!--                    </div>-->
<!--                </div>-->

<!--                <div class="layui-form-item">-->
<!--                    <label class="layui-form-label">籍贯：</label>-->
<!--                    <div class="layui-input-inline">-->
<!--                        <select name="provinceid"   id="provinceid" lay-filter="provinceid">-->
<!--                            <option value="" checked>请选择省</option>-->

<!--                        </select>-->
<!--                    </div>-->
<!--                    <div class="layui-input-inline">-->
<!--                        <select name="cityid"  id="cityid" lay-filter="cityid">-->
<!--                            <option value="" checked>请选择市</option>-->

<!--                        </select>-->
<!--                    </div>-->
<!--                    <div class="layui-input-inline">-->
<!--                        <select name="areaid" id="areaid" lay-filter="areaid">-->
<!--                            <option value="" checked>请选择县/区</option>-->

<!--                        </select>-->
<!--                    </div>-->
<!--                    <div class="layui-form-mid layui-word-aux"></div>-->
<!--                </div>-->
                <div class="layui-form-item">
                    <label class="layui-form-label">籍贯：</label>
                    <div class="layui-input-inline">
                        <select name="province" class="layui-select">
                            <option value="">请选择省</option>
                        </select>
                    </div>

                    <div class="layui-input-inline">
                        <select name="city" class="layui-select">
                            <option value="">请选择市</option>
                        </select>
                    </div>

                    <div class="layui-input-inline">
                        <select name="area" class="layui-select">

                            <option value="">选择县/区/市</option>
                        </select>
                    </div>
                </div>

<!--                <div class="layui-form-item">-->
<!--                    <label class="layui-form-label">详细地址：</label>-->
<!--                    <div class="layui-input-block">-->
<!--                        <input type="text" name="title" th:value="${session.stu.sInformation.getDetailAddr()}" id="detailDddr" placeholder="请输入详细地址" autocomplete="off" class="layui-input">-->
<!--                    </div>-->
<!--                </div>-->

                <!--
                      <button type="button" class="layui-btn layui-btn-normal layui-btn-sm"><i class="layui-icon"></i></button>
                -->

<!--            </form>-->
            <button type="button" class="layui-btn layui-btn-lg layui-btn-normal"
                    id="addstu"
                    style="margin: -15px 0px -5px 250px">
                <i class="layui-icon layui-icon-search"></i>所在班级
            </button>
            <button type="button" class="layui-btn layui-btn-lg layui-btn-warm"
                    id="gsAll" style="margin: -15px 0px -5px 250px">
                <i class="layui-icon layui-icon-chat"></i>所在宿舍 </button>
        </div>



    </div>

</div>

<script type="text/javascript" th:src="@{/js/stulist.js}"></script>

</body>
</html>